package com.taxshare.purchaser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxshare.purchaser.entity.InvoiceCollectionsDetailEntity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InvoiceCollectionDetailMapper extends BaseMapper<InvoiceCollectionsDetailEntity> {

    //入库明细表
    void insertInvoiceCollectionDetail(InvoiceCollectionsDetailEntity invoiceCollectionsDetailEntity);

    //删除明细表重复数据
    @Delete("delete from t_purchaser_invoice_collections_detail where fphm = #{fphm}")
    void deleteInvoiceCollectionDetail(@Param("fphm") String fphm);

}
